18. 解决方案:类型和类型转换
以下是上一题的解决方案:
Quiz: Total Sales
weekly_sales = int(mon_sales) + int(tues_sales) + int(wed_sales) + int(thurs_sales) + int(fri_sales)
weekly_sales = str(weekly_sales) #convert the type back!!
print("This week's total sales: " + weekly_sales)